<html xmlns="http://www.w3.org/1999/xhtml" 
      xmlns:ui="http://java.sun.com/jsf/facelets" 
      xmlns:h="http://java.sun.com/jsf/html" 
      xmlns:f="http://java.sun.com/jsf/core">
	<h:body>
		<ui:composition>
			<ui:fragment rendered="#{empty link and empty scroll}">
		    	<h1><h:outputText value="#{text}" /></h1>
    		</ui:fragment>
    		<ui:fragment rendered="#{not empty link}">
    			<h1 class="backLink" onclick="location.href='#{link}'" style="#{hasSubHeadlines eq true ? 'margin-bottom:5px' : ''}">
		    		<h:outputLink value="#{link}"><h:outputText value="#{text}" /></h:outputLink>
		    	</h1>
    		</ui:fragment>
    		<ui:fragment rendered="#{not empty scroll}">
    			<h1 class="backLink" onclick="scrollMultiPartContent('#{scroll}')" style="#{hasSubHeadlines eq true ? 'margin-bottom:5px' : ''}">
		    		<h:outputLink value="#"><h:outputText value="#{text}" /></h:outputLink>
		    	</h1>
    		</ui:fragment>
    		<ui:include src="./message.xhtml" />
		</ui:composition>
	</h:body>
</html>